<script setup lang="ts">
  
  
  import {onMounted, ref} from "vue";
  import {Mails} from "../../api/mail.ts";
  
  const mailList = ref([])
  const email = "15541361018@163.com"
  const password = "XEBRSOGKNGAMKFIH"
  const getMailList = () => {
    Mails['getMails'](email, password).then((res: any) => {
      console.log(res)
    })
    mailList.value
  }
  
  onMounted(() => {
    getMailList()
  })


</script>

<template>
  <div class="box">
    <div>
    
    
    </div>
  
  </div>
</template>

<style scoped>
  .box {
    width: 100%;
    height: 100%;
  }
</style>